<?xml version="1.0" encoding="utf-8" ?>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

	<%String language = (request.getParameter("lang") == null)?"es":request.getParameter("lang"); %>
	<fmt:setLocale value="<%=language %>" scope="page"/>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="styles/style1.css" type="text/css" rel="stylesheet"/>
		<title><fmt:message key="title.index"/></title>
	</head>
	<body>
		<div id="cabecera">
			<p><a href="index.jsp?lang=es"><fmt:message key="spanish"/><img src="images/Spain.png" alt="Bandera española"/></a>/<a href="index.jsp?lang=en"><fmt:message key="english"/><img src="images/england.png" alt="Bandera inglesa"/></a></p>
		</div>
		<h1><fmt:message key="title.index"/></h1>
		
		<div id="column2">
		<p><fmt:message key="intro.index"/>
		</p>
	</div>
	
	<div id="column1">
		<ul>
			<li><a href="paroSectores.jsp?lang=<%=language %>"><fmt:message key="list.sectors"/></a></li>
			<li><a href="paroSexos.jsp?lang=<%=language %>"><fmt:message key="list.genres"/> </a></li>
			<li><a href="paroEdades.jsp?lang=<%=language %>"><fmt:message key="list.ages"/> </a></li>
			<li><a href="exhibitParoConcejos.jsp?lang=<%=language %>"><fmt:message key="list.councils"/></a></li>
			<li><a href="predefinidas.jsp?lang=<%=language%>"><fmt:message key="consultas.title"/></a></li>
		</ul>
	</div>
		
	</body>
</html>

